'''
  @Description      
  @auther         leizi
  @create          2020-02-09 15:03
'''
import requests
from config.useconfig import testproject, \
    testtype, testplangetactivityurl, testplanurl


def getactivity(version):
    data = {"project": testproject, "version": version, "types": testtype}
    url = testplanurl + testplangetactivityurl
    all_activitylist = requests.get(url=url, params=data)
    return all_activitylist


def makereport(caozuo_num, run_activity, log_reslut, version):
    all_activitylist = getactivity(version)
    pass
